﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model IEnumerable<PessModel.GetExpertGroupList_Result>

@{
    ViewBag.Title = "Review Group";
}

<h2>Review Group</h2>
<div id="operate">@Html.ActionLink("Reviewers", "Index", "ExpertJudge", new {activityID=ViewBag.ActivityID },null)</div>
<fieldset class="edit">
    <legend> Create Review Group </legend>
@using(Html.BeginForm("CreateConfirmed","ExpertGroup")){
    <div class="editor-label-inLine">Group Name: @Html.TextBox("Callsign")&#8195;&#8195;<input type="hidden" name="activityID" value="@ViewBag.ActivityID" /></div>
    <div class="editor-btn-inLine downM"><input type="submit" value=" Create " />&#8195;&#8195;</div>
}
</fieldset>

<fieldset>
    <legend> Review Group </legend>
<table id="callsignList" class="oddTable">
    <tr>
        <th>
            GroupID
        </th>
        <th>
            @*@Html.DisplayNameFor(model=>model.Callsign)*@Group Name
        </th>

        @*<th>
            @Html.DisplayNameFor(model => model.SubjectName)
        </th>*@
        @*<th>
           @Html.DisplayNameFor(model=>model.LeaderID)
        </th>*@
        <th>
            @*@Html.DisplayNameFor(model=>model.MemberCount)*@Members
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tbody>
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ExpertGroupID)
        </td>
        <td>
            @Html.DisplayFor(modelItem=>item.Callsign)
        </td>

        @*<td>
            @Html.DisplayFor(modelItem => item.SubjectName)
        </td>*@
        @*<td>
            @Html.DisplayFor(modelItem => item.LeaderID)
        </td>*@
        <td>
            @Html.DisplayFor(modelItem => item.MemberCount)
        </td>
        <td>
            @*@Html.ActionLink("Edit", "Edit", new { id=item..ID })*@ 
            @Html.ActionLink("Details", "Details", new { id=item.ExpertGroupID },null) 
            @Html.ActionLink("Delete", "Delete", new { id=item.ExpertGroupID })
        </td>
    </tr>
    </tbody>
}

</table>
</fieldset>